
#MMDS Report Generator v0.3
import repParser

db={'host':'localhost','user':"sriram",'password':"123",'database':"mmds",'filename':"mmds_att_report.pdf"}

folder = '.'

templatename = 'mmds.xtr'

print "\n\n======================================="
print "\nMMDS Report Generator v0.3"

print "\n======================================="
print "\n\nGenerating Attendance Report.....\n\n"

repParser.create_rep(templatename, db, folder)

print "mmds_att_report.pdf is successfully created!..\n\n"

print "All are done!...\n\n"
